<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>药品审核记录列表</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/res/layui-v2.5.6/css/layui.css" media="all">
    <script type="text/javascript" src="/res/js/jquery-3.4.1.min.js"></script>
</head>
<body>
<table class="layui-hide" id="test" lay-filter="test"></table>

<script type="text/javascript" src="/res/layui-v2.5.6/layui.js"></script>
<script>
    var openIndex = null;
    var table = null;
    var laydate = null;
    layui.use(['table', 'laydate'], function () {
        table = layui.table;
        laydate = layui.laydate;

        table.render({
            method:"POST",
            elem: '#test'
            , url: '/hqReview/findBybusinessId'
            , title: '药品审核记录数据表'
            , cols: [[
                  /*{field: 'id', title: '审核记录ID', width: 140,fixed: 'left'}
                , {field: 'reviewId', title: '审核id', width: 140}
                , */{field: 'reviewRemark', title: '审核说明', width: 120,align:"center"}
                , {field: 'auditor', title: '审核人', width: 160,align:"center"}
                , {field: 'opertime', title: '操作时间', width: 170,align:"center"}
            ]]
            , page: true
            , id: 'test'
            ,where: {
                businessId:getQueryString("id")
            }
        });
    });


    /**
     得到地址栏的参数
     */
    function getQueryString(name) {
        var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
        var r = window.location.search.substr(1).match(reg);
        if (r != null) return unescape(r[2]);
        return null;
    }
</script>
</body>
</html>